﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "parking_fee", DisableSyncStructure = true)]
	public partial class ParkingFee {

		/// <summary>
		/// 编号    主键
		/// </summary>
		[JsonProperty, Column(Name = "F_Id", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int FId { get; set; }

		/// <summary>
		/// 车牌号
		/// </summary>
		[JsonProperty, Column(Name = "F_CarCard", StringLength = 20)]
		public string FCarCard { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "F_CreatTime", DbType = "datetime")]
		public DateTime? FCreatTime { get; set; }

		/// <summary>
		/// 结束时间
		/// </summary>
		[JsonProperty, Column(Name = "F_EndTime", DbType = "datetime")]
		public DateTime? FEndTime { get; set; }

		/// <summary>
		/// 应缴费用
		/// </summary>
		[JsonProperty, Column(Name = "F_Money")]
		public double? FMoney { get; set; }

		/// <summary>
		/// 使用车位
		/// </summary>
		[JsonProperty, Column(Name = "F_P_Id", DbType = "datetime")]
		public DateTime? FPId { get; set; }

		/// <summary>
		/// 开始时间
		/// </summary>
		[JsonProperty, Column(Name = "F_StartTime", DbType = "datetime")]
		public DateTime? FStartTime { get; set; }

		/// <summary>
		/// 是否缴费（0未缴费，1已缴费）
		/// </summary>
		[JsonProperty, Column(Name = "F_State", DbType = "int")]
		public int? FState { get; set; }

		/// <summary>
		/// 登记业主
		/// </summary>
		[JsonProperty, Column(Name = "F_UserID", DbType = "int")]
		public int? FUserID { get; set; }

		/// <summary>
		/// 使用性质（租，售，临靠）
		/// </summary>
		[JsonProperty, Column(Name = "F_UseState", StringLength = 20)]
		public string FUseState { get; set; }

	}

}
